package com.xueyi.system.breedInformation.service.impl;

import com.xueyi.system.breedInformation.domain.query.BreedInformationQuery;
import com.xueyi.system.breedInformation.domain.dto.BreedInformationDto;
import com.xueyi.system.breedInformation.service.IBreedInformationService;
import com.xueyi.system.breedInformation.manager.IBreedInformationManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 繁育信息管理 服务层处理
 *
 * @author zlf
 */
@Service
public class BreedInformationServiceImpl extends BaseServiceImpl<BreedInformationQuery, BreedInformationDto, IBreedInformationManager> implements IBreedInformationService {

    /**
     * 查询繁育信息对象列表 | 数据权限 | 附加数据
     *
     * @param breedInformation 繁育信息对象
     * @return 繁育信息对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BreedInformationMapper"})
    public List<BreedInformationDto> selectListScope(BreedInformationQuery breedInformation) {
        return baseManager.selectListExtra(breedInformation);
    }

}